[INFO] cloning repository https://github.com/y0sif/computer_security_tasks_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/y0sif/computer_security_tasks_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fy0sif%2Fcomputer_security_tasks_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fy0sif%2Fcomputer_security_tasks_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 950b10817e795a587099498e5f5f022bf5c88800
[INFO] testing y0sif/computer_security_tasks_rust against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fy0sif%2Fcomputer_security_tasks_rust" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/y0sif/computer_security_tasks_rust
[INFO] finished tweaking git repo https://github.com/y0sif/computer_security_tasks_rust
[INFO] tweaked toml for git repo https://github.com/y0sif/computer_security_tasks_rust written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/y0sif/computer_security_tasks_rust on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/y0sif/computer_security_tasks_rust already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2024 which implies `resolver = "3"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2024 resolver, specify `workspace.resolver = "3"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded linked_hash_set v0.1.5
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b4dff85fde154b1ac844ccff29b3f38d4805e995732bc18fb8fe362280acd076
[INFO] running `Command { std: "docker" "start" "-a" "b4dff85fde154b1ac844ccff29b3f38d4805e995732bc18fb8fe362280acd076", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b4dff85fde154b1ac844ccff29b3f38d4805e995732bc18fb8fe362280acd076", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b4dff85fde154b1ac844ccff29b3f38d4805e995732bc18fb8fe362280acd076", kill_on_drop: false }`
[INFO] [stdout] b4dff85fde154b1ac844ccff29b3f38d4805e995732bc18fb8fe362280acd076
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 73805902aaa9cc5a6c334f3fdec66efc6529512d61d96fd721d6470542db0e0d
[INFO] running `Command { std: "docker" "start" "-a" "73805902aaa9cc5a6c334f3fdec66efc6529512d61d96fd721d6470542db0e0d", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2024 which implies `resolver = "3"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2024 resolver, specify `workspace.resolver = "3"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]    Compiling memchr v2.7.4
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling linked-hash-map v0.5.6
[INFO] [stderr]    Compiling security_task_3 v0.1.0 (/opt/rustwide/workdir/security_task_3)
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:4:27
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, p: i32, q: i32, m: i32, e: i32) -> i32 {
[INFO] [stdout]   |                           ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `q`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:4:35
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, p: i32, q: i32, m: i32, e: i32) -> i32 {
[INFO] [stdout]   |                                   ^ help: if this is intentional, prefix it with an underscore: `_q`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `m`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:4:43
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, p: i32, q: i32, m: i32, e: i32) -> i32 {
[INFO] [stdout]   |                                           ^ help: if this is intentional, prefix it with an underscore: `_m`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:4:51
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, p: i32, q: i32, m: i32, e: i32) -> i32 {
[INFO] [stdout]   |                                                   ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:8:27
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, p: i32, q: i32, c: i32, e: i32) -> i32 {
[INFO] [stdout]   |                           ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `q`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:8:35
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, p: i32, q: i32, c: i32, e: i32) -> i32 {
[INFO] [stdout]   |                                   ^ help: if this is intentional, prefix it with an underscore: `_q`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:8:43
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, p: i32, q: i32, c: i32, e: i32) -> i32 {
[INFO] [stdout]   |                                           ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:8:51
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, p: i32, q: i32, c: i32, e: i32) -> i32 {
[INFO] [stdout]   |                                                   ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `q`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:4:27
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, q: i32, alpha: i32, y: i32, k: i32, m: i32) -> Vec<i64> {
[INFO] [stdout]   |                           ^ help: if this is intentional, prefix it with an underscore: `_q`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `alpha`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:4:35
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, q: i32, alpha: i32, y: i32, k: i32, m: i32) -> Vec<i64> {
[INFO] [stdout]   |                                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_alpha`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:4:47
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, q: i32, alpha: i32, y: i32, k: i32, m: i32) -> Vec<i64> {
[INFO] [stdout]   |                                               ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:4:55
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, q: i32, alpha: i32, y: i32, k: i32, m: i32) -> Vec<i64> {
[INFO] [stdout]   |                                                       ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `m`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:4:63
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, q: i32, alpha: i32, y: i32, k: i32, m: i32) -> Vec<i64> {
[INFO] [stdout]   |                                                               ^ help: if this is intentional, prefix it with an underscore: `_m`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c1`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:8:27
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, c1: i32, c2: i32, x: i32, q: i32) -> i32 {
[INFO] [stdout]   |                           ^^ help: if this is intentional, prefix it with an underscore: `_c1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c2`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:8:36
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, c1: i32, c2: i32, x: i32, q: i32) -> i32 {
[INFO] [stdout]   |                                    ^^ help: if this is intentional, prefix it with an underscore: `_c2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:8:45
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, c1: i32, c2: i32, x: i32, q: i32) -> i32 {
[INFO] [stdout]   |                                             ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `q`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:8:53
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, c1: i32, c2: i32, x: i32, q: i32) -> i32 {
[INFO] [stdout]   |                                                     ^ help: if this is intentional, prefix it with an underscore: `_q`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `q`
[INFO] [stdout]  --> security_task_3/src/diffie_hellman.rs:4:28
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn get_keys(&self, q: i32, alpha: i32, xa: i32, xb: i32) -> Vec<i32> {
[INFO] [stdout]   |                            ^ help: if this is intentional, prefix it with an underscore: `_q`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `alpha`
[INFO] [stdout]  --> security_task_3/src/diffie_hellman.rs:4:36
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn get_keys(&self, q: i32, alpha: i32, xa: i32, xb: i32) -> Vec<i32> {
[INFO] [stdout]   |                                    ^^^^^ help: if this is intentional, prefix it with an underscore: `_alpha`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `xa`
[INFO] [stdout]  --> security_task_3/src/diffie_hellman.rs:4:48
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn get_keys(&self, q: i32, alpha: i32, xa: i32, xb: i32) -> Vec<i32> {
[INFO] [stdout]   |                                                ^^ help: if this is intentional, prefix it with an underscore: `_xa`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `xb`
[INFO] [stdout]  --> security_task_3/src/diffie_hellman.rs:4:57
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn get_keys(&self, q: i32, alpha: i32, xa: i32, xb: i32) -> Vec<i32> {
[INFO] [stdout]   |                                                         ^^ help: if this is intentional, prefix it with an underscore: `_xb`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling linked_hash_set v0.1.5
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling num-integer v0.1.46
[INFO] [stderr]    Compiling num-bigint v0.4.6
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling security_task_2 v0.1.0 (/opt/rustwide/workdir/security_task_2)
[INFO] [stdout] warning: unused import: `std::str::FromStr`
[INFO] [stdout]  --> security_task_2/src/des.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::str::FromStr;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `binary`
[INFO] [stdout]    --> security_task_2/src/des.rs:100:29
[INFO] [stdout]     |
[INFO] [stdout] 100 |     fn binary_to_hex(&self, binary: &str) -> String {
[INFO] [stdout]     |                             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_binary`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> security_task_2/src/des.rs:201:13
[INFO] [stdout]     |
[INFO] [stdout] 201 |         let mut subkeys = vec![String::new(); 16];
[INFO] [stdout]     |             ----^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key_bin`
[INFO] [stdout]    --> security_task_2/src/des.rs:200:33
[INFO] [stdout]     |
[INFO] [stdout] 200 |     fn generate_sub_keys(&self, key_bin: &str) -> Vec<String> {
[INFO] [stdout]     |                                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_bin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> security_task_2/src/des.rs:208:13
[INFO] [stdout]     |
[INFO] [stdout] 208 |         for i in 0..16 {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> security_task_2/src/des.rs:221:13
[INFO] [stdout]     |
[INFO] [stdout] 221 |         let mut substituted = String::new();
[INFO] [stdout]     |             ----^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]    --> security_task_2/src/des.rs:215:23
[INFO] [stdout]     |
[INFO] [stdout] 215 |     fn feistel(&self, r: &str, sub_key: &str) -> String {
[INFO] [stdout]     |                       ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sub_key`
[INFO] [stdout]    --> security_task_2/src/des.rs:215:32
[INFO] [stdout]     |
[INFO] [stdout] 215 |     fn feistel(&self, r: &str, sub_key: &str) -> String {
[INFO] [stdout]     |                                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sub_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `substituted`
[INFO] [stdout]    --> security_task_2/src/des.rs:221:13
[INFO] [stdout]     |
[INFO] [stdout] 221 |         let mut substituted = String::new();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_substituted`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> security_task_2/src/des.rs:222:13
[INFO] [stdout]     |
[INFO] [stdout] 222 |         for i in 0..8 {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `plain_text`
[INFO] [stdout]   --> security_task_2/src/columnar_cipher.rs:10:27
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub fn analyse(&self, plain_text: &str, cipher_text: &str) -> Vec<usize> {
[INFO] [stdout]    |                           ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plain_text`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cipher_text`
[INFO] [stdout]   --> security_task_2/src/columnar_cipher.rs:10:45
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub fn analyse(&self, plain_text: &str, cipher_text: &str) -> Vec<usize> {
[INFO] [stdout]    |                                             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cipher_text`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> security_task_2/src/des.rs:14:11
[INFO] [stdout]     |
[INFO] [stdout]   6 | impl DES {
[INFO] [stdout]     | -------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  14 |     const E: [usize; 48] = [32, 1, 2, 3, 4, 5, 4, 5, 6, 7, 8, 9, 8, 9, 10, 11, 12, 13, 12, 13, 14, 15, 16, 17, 16, 17, 18, 19, 20, ...
[INFO] [stdout]     |           ^
[INFO] [stdout] ...
[INFO] [stdout]  17 |     const P: [usize; 32] = [16, 7, 20, 21, 29, 12, 28, 17, 1, 15, 23, 26, 5, 18, 31, 10, 2, 8, 24, 14, 32, 27, 3, 9, 19, 13, 30, 6,...
[INFO] [stdout]     |           ^
[INFO] [stdout] ...
[INFO] [stdout]  20 |     const SBOXES: [[[u8; 16]; 4]; 8] = [
[INFO] [stdout]     |           ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  72 |     const SHIFTS: [usize; 16] = [1, 1, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 1];
[INFO] [stdout]     |           ^^^^^^
[INFO] [stdout]  73 |
[INFO] [stdout]  74 |     const PC1: [usize; 56] = [57, 49, 41, 33, 25, 17, 9, 1, 58, 50, 42, 34, 26, 18, 10, 2, 59, 51, 43, 35, 27, 19, 11, 3, 60, 52, 4...
[INFO] [stdout]     |           ^^^
[INFO] [stdout]  75 |
[INFO] [stdout]  76 |     const PC2: [usize; 48] = [14, 17, 11, 24, 1, 5, 3, 28, 15, 6, 21, 10, 23, 19, 12, 4, 26, 8, 16, 7, 27, 20, 13, 2, 41, 52, 31, 3...
[INFO] [stdout]     |           ^^^
[INFO] [stdout] ...
[INFO] [stdout] 115 |     fn left_shift(&self, half: &str, shifts: usize) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling security_task_1 v0.1.0 (/opt/rustwide/workdir/security_task_1)
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]  --> security_task_1/src/monoalphabetic_cipher.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let key = key.to_uppercase();
[INFO] [stdout]   |         ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |     for i in 0..alphabet.len() {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let key = key.to_uppercase();
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |     for i in 0..alphabet.len() {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `encryption_map`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let encryption_map = generate_encryption_map(key);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encryption_map`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |     for c in plaintext.chars() {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `decryption_map`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let decryption_map = generate_decryption_map(key);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decryption_map`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |     for c in ciphertext.chars() {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cipher_char`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:62:22
[INFO] [stdout]    |
[INFO] [stdout] 62 |     for (plain_char, cipher_char) in plaintext.chars().zip(ciphertext.chars()) {
[INFO] [stdout]    |                      ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cipher_char`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:64:17
[INFO] [stdout]    |
[INFO] [stdout] 64 |             let index = alphabet.find(plain_char).unwrap();
[INFO] [stdout]    |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]   --> security_task_1/src/playfair_cipher.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let k = key.to_uppercase().replace("[^A-Z]", "").replace("J", "I");
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> security_task_1/src/playfair_cipher.rs:62:22
[INFO] [stdout]    |
[INFO] [stdout] 62 |     fn find_position(c: char) -> Option<Vec<usize>> {
[INFO] [stdout]    |                      ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `text`
[INFO] [stdout]   --> security_task_1/src/playfair_cipher.rs:95:27
[INFO] [stdout]    |
[INFO] [stdout] 95 |     pub fn decrypt(&self, text: String) -> String {
[INFO] [stdout]    |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_text`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 10.94s
[INFO] running `Command { std: "docker" "inspect" "73805902aaa9cc5a6c334f3fdec66efc6529512d61d96fd721d6470542db0e0d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "73805902aaa9cc5a6c334f3fdec66efc6529512d61d96fd721d6470542db0e0d", kill_on_drop: false }`
[INFO] [stdout] 73805902aaa9cc5a6c334f3fdec66efc6529512d61d96fd721d6470542db0e0d
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 937f0e07da99311c8b6a8cc89dce9fe13374a28dbb8ed72913ee1d46d3f73103
[INFO] running `Command { std: "docker" "start" "-a" "937f0e07da99311c8b6a8cc89dce9fe13374a28dbb8ed72913ee1d46d3f73103", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2024 which implies `resolver = "3"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2024 resolver, specify `workspace.resolver = "3"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr]    Compiling security_task_3 v0.1.0 (/opt/rustwide/workdir/security_task_3)
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:4:27
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, p: i32, q: i32, m: i32, e: i32) -> i32 {
[INFO] [stdout]   |                           ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `q`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:4:35
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, p: i32, q: i32, m: i32, e: i32) -> i32 {
[INFO] [stdout]   |                                   ^ help: if this is intentional, prefix it with an underscore: `_q`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `m`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:4:43
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, p: i32, q: i32, m: i32, e: i32) -> i32 {
[INFO] [stdout]   |                                           ^ help: if this is intentional, prefix it with an underscore: `_m`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:4:51
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, p: i32, q: i32, m: i32, e: i32) -> i32 {
[INFO] [stdout]   |                                                   ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:8:27
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, p: i32, q: i32, c: i32, e: i32) -> i32 {
[INFO] [stdout]   |                           ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `q`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:8:35
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, p: i32, q: i32, c: i32, e: i32) -> i32 {
[INFO] [stdout]   |                                   ^ help: if this is intentional, prefix it with an underscore: `_q`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:8:43
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, p: i32, q: i32, c: i32, e: i32) -> i32 {
[INFO] [stdout]   |                                           ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:8:51
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, p: i32, q: i32, c: i32, e: i32) -> i32 {
[INFO] [stdout]   |                                                   ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `q`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:4:27
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, q: i32, alpha: i32, y: i32, k: i32, m: i32) -> Vec<i64> {
[INFO] [stdout]   |                           ^ help: if this is intentional, prefix it with an underscore: `_q`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `alpha`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:4:35
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, q: i32, alpha: i32, y: i32, k: i32, m: i32) -> Vec<i64> {
[INFO] [stdout]   |                                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_alpha`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:4:47
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, q: i32, alpha: i32, y: i32, k: i32, m: i32) -> Vec<i64> {
[INFO] [stdout]   |                                               ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:4:55
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, q: i32, alpha: i32, y: i32, k: i32, m: i32) -> Vec<i64> {
[INFO] [stdout]   |                                                       ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `m`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:4:63
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, q: i32, alpha: i32, y: i32, k: i32, m: i32) -> Vec<i64> {
[INFO] [stdout]   |                                                               ^ help: if this is intentional, prefix it with an underscore: `_m`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c1`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:8:27
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, c1: i32, c2: i32, x: i32, q: i32) -> i32 {
[INFO] [stdout]   |                           ^^ help: if this is intentional, prefix it with an underscore: `_c1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c2`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:8:36
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, c1: i32, c2: i32, x: i32, q: i32) -> i32 {
[INFO] [stdout]   |                                    ^^ help: if this is intentional, prefix it with an underscore: `_c2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:8:45
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, c1: i32, c2: i32, x: i32, q: i32) -> i32 {
[INFO] [stdout]   |                                             ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `q`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:8:53
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, c1: i32, c2: i32, x: i32, q: i32) -> i32 {
[INFO] [stdout]   |                                                     ^ help: if this is intentional, prefix it with an underscore: `_q`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `q`
[INFO] [stdout]  --> security_task_3/src/diffie_hellman.rs:4:28
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn get_keys(&self, q: i32, alpha: i32, xa: i32, xb: i32) -> Vec<i32> {
[INFO] [stdout]   |                            ^ help: if this is intentional, prefix it with an underscore: `_q`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `alpha`
[INFO] [stdout]  --> security_task_3/src/diffie_hellman.rs:4:36
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn get_keys(&self, q: i32, alpha: i32, xa: i32, xb: i32) -> Vec<i32> {
[INFO] [stdout]   |                                    ^^^^^ help: if this is intentional, prefix it with an underscore: `_alpha`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `xa`
[INFO] [stdout]  --> security_task_3/src/diffie_hellman.rs:4:48
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn get_keys(&self, q: i32, alpha: i32, xa: i32, xb: i32) -> Vec<i32> {
[INFO] [stdout]   |                                                ^^ help: if this is intentional, prefix it with an underscore: `_xa`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `xb`
[INFO] [stdout]  --> security_task_3/src/diffie_hellman.rs:4:57
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn get_keys(&self, q: i32, alpha: i32, xa: i32, xb: i32) -> Vec<i32> {
[INFO] [stdout]   |                                                         ^^ help: if this is intentional, prefix it with an underscore: `_xb`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]  --> security_task_1/src/monoalphabetic_cipher.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let key = key.to_uppercase();
[INFO] [stdout]   |         ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |     for i in 0..alphabet.len() {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let key = key.to_uppercase();
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |     for i in 0..alphabet.len() {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `encryption_map`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let encryption_map = generate_encryption_map(key);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encryption_map`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |     for c in plaintext.chars() {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `decryption_map`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let decryption_map = generate_decryption_map(key);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decryption_map`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling security_task_1 v0.1.0 (/opt/rustwide/workdir/security_task_1)
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |     for c in ciphertext.chars() {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cipher_char`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:62:22
[INFO] [stdout]    |
[INFO] [stdout] 62 |     for (plain_char, cipher_char) in plaintext.chars().zip(ciphertext.chars()) {
[INFO] [stdout]    |                      ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cipher_char`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:64:17
[INFO] [stdout]    |
[INFO] [stdout] 64 |             let index = alphabet.find(plain_char).unwrap();
[INFO] [stdout]    |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]   --> security_task_1/src/playfair_cipher.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let k = key.to_uppercase().replace("[^A-Z]", "").replace("J", "I");
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> security_task_1/src/playfair_cipher.rs:62:22
[INFO] [stdout]    |
[INFO] [stdout] 62 |     fn find_position(c: char) -> Option<Vec<usize>> {
[INFO] [stdout]    |                      ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `text`
[INFO] [stdout]   --> security_task_1/src/playfair_cipher.rs:95:27
[INFO] [stdout]    |
[INFO] [stdout] 95 |     pub fn decrypt(&self, text: String) -> String {
[INFO] [stdout]    |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_text`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::FromStr`
[INFO] [stdout]  --> security_task_2/src/des.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::str::FromStr;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `binary`
[INFO] [stdout]    --> security_task_2/src/des.rs:100:29
[INFO] [stdout]     |
[INFO] [stdout] 100 |     fn binary_to_hex(&self, binary: &str) -> String {
[INFO] [stdout]     |                             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_binary`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> security_task_2/src/des.rs:201:13
[INFO] [stdout]     |
[INFO] [stdout] 201 |         let mut subkeys = vec![String::new(); 16];
[INFO] [stdout]     |             ----^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key_bin`
[INFO] [stdout]    --> security_task_2/src/des.rs:200:33
[INFO] [stdout]     |
[INFO] [stdout] 200 |     fn generate_sub_keys(&self, key_bin: &str) -> Vec<String> {
[INFO] [stdout]     |                                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_bin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> security_task_2/src/des.rs:208:13
[INFO] [stdout]     |
[INFO] [stdout] 208 |         for i in 0..16 {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> security_task_2/src/des.rs:221:13
[INFO] [stdout]     |
[INFO] [stdout] 221 |         let mut substituted = String::new();
[INFO] [stdout]     |             ----^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]    --> security_task_2/src/des.rs:215:23
[INFO] [stdout]     |
[INFO] [stdout] 215 |     fn feistel(&self, r: &str, sub_key: &str) -> String {
[INFO] [stdout]     |                       ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sub_key`
[INFO] [stdout]    --> security_task_2/src/des.rs:215:32
[INFO] [stdout]     |
[INFO] [stdout] 215 |     fn feistel(&self, r: &str, sub_key: &str) -> String {
[INFO] [stdout]     |                                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sub_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `substituted`
[INFO] [stdout]    --> security_task_2/src/des.rs:221:13
[INFO] [stdout]     |
[INFO] [stdout] 221 |         let mut substituted = String::new();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_substituted`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> security_task_2/src/des.rs:222:13
[INFO] [stdout]     |
[INFO] [stdout] 222 |         for i in 0..8 {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `plain_text`
[INFO] [stdout]   --> security_task_2/src/columnar_cipher.rs:10:27
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub fn analyse(&self, plain_text: &str, cipher_text: &str) -> Vec<usize> {
[INFO] [stdout]    |                           ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plain_text`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cipher_text`
[INFO] [stdout]   --> security_task_2/src/columnar_cipher.rs:10:45
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub fn analyse(&self, plain_text: &str, cipher_text: &str) -> Vec<usize> {
[INFO] [stdout]    |                                             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cipher_text`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> security_task_2/src/des.rs:14:11
[INFO] [stdout]     |
[INFO] [stdout]   6 | impl DES {
[INFO] [stdout]     | -------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  14 |     const E: [usize; 48] = [32, 1, 2, 3, 4, 5, 4, 5, 6, 7, 8, 9, 8, 9, 10, 11, 12, 13, 12, 13, 14, 15, 16, 17, 16, 17, 18, 19, 20, ...
[INFO] [stdout]     |           ^
[INFO] [stdout] ...
[INFO] [stdout]  17 |     const P: [usize; 32] = [16, 7, 20, 21, 29, 12, 28, 17, 1, 15, 23, 26, 5, 18, 31, 10, 2, 8, 24, 14, 32, 27, 3, 9, 19, 13, 30, 6,...
[INFO] [stdout]     |           ^
[INFO] [stdout] ...
[INFO] [stdout]  20 |     const SBOXES: [[[u8; 16]; 4]; 8] = [
[INFO] [stdout]     |           ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  72 |     const SHIFTS: [usize; 16] = [1, 1, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 1];
[INFO] [stdout]     |           ^^^^^^
[INFO] [stdout]  73 |
[INFO] [stdout]  74 |     const PC1: [usize; 56] = [57, 49, 41, 33, 25, 17, 9, 1, 58, 50, 42, 34, 26, 18, 10, 2, 59, 51, 43, 35, 27, 19, 11, 3, 60, 52, 4...
[INFO] [stdout]     |           ^^^
[INFO] [stdout]  75 |
[INFO] [stdout]  76 |     const PC2: [usize; 48] = [14, 17, 11, 24, 1, 5, 3, 28, 15, 6, 21, 10, 23, 19, 12, 4, 26, 8, 16, 7, 27, 20, 13, 2, 41, 52, 31, 3...
[INFO] [stdout]     |           ^^^
[INFO] [stdout] ...
[INFO] [stdout] 115 |     fn left_shift(&self, half: &str, shifts: usize) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling security_task_2 v0.1.0 (/opt/rustwide/workdir/security_task_2)
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:4:27
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, p: i32, q: i32, m: i32, e: i32) -> i32 {
[INFO] [stdout]   |                           ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `q`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:4:35
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, p: i32, q: i32, m: i32, e: i32) -> i32 {
[INFO] [stdout]   |                                   ^ help: if this is intentional, prefix it with an underscore: `_q`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `m`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:4:43
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, p: i32, q: i32, m: i32, e: i32) -> i32 {
[INFO] [stdout]   |                                           ^ help: if this is intentional, prefix it with an underscore: `_m`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:4:51
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, p: i32, q: i32, m: i32, e: i32) -> i32 {
[INFO] [stdout]   |                                                   ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `p`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:8:27
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, p: i32, q: i32, c: i32, e: i32) -> i32 {
[INFO] [stdout]   |                           ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `q`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:8:35
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, p: i32, q: i32, c: i32, e: i32) -> i32 {
[INFO] [stdout]   |                                   ^ help: if this is intentional, prefix it with an underscore: `_q`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:8:43
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, p: i32, q: i32, c: i32, e: i32) -> i32 {
[INFO] [stdout]   |                                           ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `e`
[INFO] [stdout]  --> security_task_3/src/rsa.rs:8:51
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, p: i32, q: i32, c: i32, e: i32) -> i32 {
[INFO] [stdout]   |                                                   ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `q`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:4:27
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, q: i32, alpha: i32, y: i32, k: i32, m: i32) -> Vec<i64> {
[INFO] [stdout]   |                           ^ help: if this is intentional, prefix it with an underscore: `_q`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `alpha`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:4:35
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, q: i32, alpha: i32, y: i32, k: i32, m: i32) -> Vec<i64> {
[INFO] [stdout]   |                                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_alpha`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:4:47
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, q: i32, alpha: i32, y: i32, k: i32, m: i32) -> Vec<i64> {
[INFO] [stdout]   |                                               ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:4:55
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, q: i32, alpha: i32, y: i32, k: i32, m: i32) -> Vec<i64> {
[INFO] [stdout]   |                                                       ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `m`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:4:63
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn encrypt(&self, q: i32, alpha: i32, y: i32, k: i32, m: i32) -> Vec<i64> {
[INFO] [stdout]   |                                                               ^ help: if this is intentional, prefix it with an underscore: `_m`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c1`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:8:27
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, c1: i32, c2: i32, x: i32, q: i32) -> i32 {
[INFO] [stdout]   |                           ^^ help: if this is intentional, prefix it with an underscore: `_c1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c2`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:8:36
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, c1: i32, c2: i32, x: i32, q: i32) -> i32 {
[INFO] [stdout]   |                                    ^^ help: if this is intentional, prefix it with an underscore: `_c2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:8:45
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, c1: i32, c2: i32, x: i32, q: i32) -> i32 {
[INFO] [stdout]   |                                             ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `q`
[INFO] [stdout]  --> security_task_3/src/elgamal.rs:8:53
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn decrypt(&self, c1: i32, c2: i32, x: i32, q: i32) -> i32 {
[INFO] [stdout]   |                                                     ^ help: if this is intentional, prefix it with an underscore: `_q`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `q`
[INFO] [stdout]  --> security_task_3/src/diffie_hellman.rs:4:28
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn get_keys(&self, q: i32, alpha: i32, xa: i32, xb: i32) -> Vec<i32> {
[INFO] [stdout]   |                            ^ help: if this is intentional, prefix it with an underscore: `_q`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `alpha`
[INFO] [stdout]  --> security_task_3/src/diffie_hellman.rs:4:36
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn get_keys(&self, q: i32, alpha: i32, xa: i32, xb: i32) -> Vec<i32> {
[INFO] [stdout]   |                                    ^^^^^ help: if this is intentional, prefix it with an underscore: `_alpha`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `xa`
[INFO] [stdout]  --> security_task_3/src/diffie_hellman.rs:4:48
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn get_keys(&self, q: i32, alpha: i32, xa: i32, xb: i32) -> Vec<i32> {
[INFO] [stdout]   |                                                ^^ help: if this is intentional, prefix it with an underscore: `_xa`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `xb`
[INFO] [stdout]  --> security_task_3/src/diffie_hellman.rs:4:57
[INFO] [stdout]   |
[INFO] [stdout] 4 |     pub fn get_keys(&self, q: i32, alpha: i32, xa: i32, xb: i32) -> Vec<i32> {
[INFO] [stdout]   |                                                         ^^ help: if this is intentional, prefix it with an underscore: `_xb`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]  --> security_task_1/src/monoalphabetic_cipher.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     let key = key.to_uppercase();
[INFO] [stdout]   |         ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:10:9
[INFO] [stdout]    |
[INFO] [stdout] 10 |     for i in 0..alphabet.len() {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:21:9
[INFO] [stdout]    |
[INFO] [stdout] 21 |     let key = key.to_uppercase();
[INFO] [stdout]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:24:9
[INFO] [stdout]    |
[INFO] [stdout] 24 |     for i in 0..alphabet.len() {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `encryption_map`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:32:9
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let encryption_map = generate_encryption_map(key);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encryption_map`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:36:9
[INFO] [stdout]    |
[INFO] [stdout] 36 |     for c in plaintext.chars() {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `decryption_map`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:44:9
[INFO] [stdout]    |
[INFO] [stdout] 44 |     let decryption_map = generate_decryption_map(key);
[INFO] [stdout]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decryption_map`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:48:9
[INFO] [stdout]    |
[INFO] [stdout] 48 |     for c in ciphertext.chars() {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cipher_char`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:62:22
[INFO] [stdout]    |
[INFO] [stdout] 62 |     for (plain_char, cipher_char) in plaintext.chars().zip(ciphertext.chars()) {
[INFO] [stdout]    |                      ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cipher_char`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]   --> security_task_1/src/monoalphabetic_cipher.rs:64:17
[INFO] [stdout]    |
[INFO] [stdout] 64 |             let index = alphabet.find(plain_char).unwrap();
[INFO] [stdout]    |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `k`
[INFO] [stdout]   --> security_task_1/src/playfair_cipher.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 |         let k = key.to_uppercase().replace("[^A-Z]", "").replace("J", "I");
[INFO] [stdout]    |             ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `c`
[INFO] [stdout]   --> security_task_1/src/playfair_cipher.rs:62:22
[INFO] [stdout]    |
[INFO] [stdout] 62 |     fn find_position(c: char) -> Option<Vec<usize>> {
[INFO] [stdout]    |                      ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `text`
[INFO] [stdout]   --> security_task_1/src/playfair_cipher.rs:95:27
[INFO] [stdout]    |
[INFO] [stdout] 95 |     pub fn decrypt(&self, text: String) -> String {
[INFO] [stdout]    |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_text`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::str::FromStr`
[INFO] [stdout]  --> security_task_2/src/des.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::str::FromStr;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `binary`
[INFO] [stdout]    --> security_task_2/src/des.rs:100:29
[INFO] [stdout]     |
[INFO] [stdout] 100 |     fn binary_to_hex(&self, binary: &str) -> String {
[INFO] [stdout]     |                             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_binary`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> security_task_2/src/des.rs:201:13
[INFO] [stdout]     |
[INFO] [stdout] 201 |         let mut subkeys = vec![String::new(); 16];
[INFO] [stdout]     |             ----^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key_bin`
[INFO] [stdout]    --> security_task_2/src/des.rs:200:33
[INFO] [stdout]     |
[INFO] [stdout] 200 |     fn generate_sub_keys(&self, key_bin: &str) -> Vec<String> {
[INFO] [stdout]     |                                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_bin`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> security_task_2/src/des.rs:208:13
[INFO] [stdout]     |
[INFO] [stdout] 208 |         for i in 0..16 {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> security_task_2/src/des.rs:221:13
[INFO] [stdout]     |
[INFO] [stdout] 221 |         let mut substituted = String::new();
[INFO] [stdout]     |             ----^^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `r`
[INFO] [stdout]    --> security_task_2/src/des.rs:215:23
[INFO] [stdout]     |
[INFO] [stdout] 215 |     fn feistel(&self, r: &str, sub_key: &str) -> String {
[INFO] [stdout]     |                       ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `sub_key`
[INFO] [stdout]    --> security_task_2/src/des.rs:215:32
[INFO] [stdout]     |
[INFO] [stdout] 215 |     fn feistel(&self, r: &str, sub_key: &str) -> String {
[INFO] [stdout]     |                                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sub_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `substituted`
[INFO] [stdout]    --> security_task_2/src/des.rs:221:13
[INFO] [stdout]     |
[INFO] [stdout] 221 |         let mut substituted = String::new();
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_substituted`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `i`
[INFO] [stdout]    --> security_task_2/src/des.rs:222:13
[INFO] [stdout]     |
[INFO] [stdout] 222 |         for i in 0..8 {
[INFO] [stdout]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `plain_text`
[INFO] [stdout]   --> security_task_2/src/columnar_cipher.rs:10:27
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub fn analyse(&self, plain_text: &str, cipher_text: &str) -> Vec<usize> {
[INFO] [stdout]    |                           ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plain_text`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cipher_text`
[INFO] [stdout]   --> security_task_2/src/columnar_cipher.rs:10:45
[INFO] [stdout]    |
[INFO] [stdout] 10 |     pub fn analyse(&self, plain_text: &str, cipher_text: &str) -> Vec<usize> {
[INFO] [stdout]    |                                             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cipher_text`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> security_task_2/src/des.rs:14:11
[INFO] [stdout]     |
[INFO] [stdout]   6 | impl DES {
[INFO] [stdout]     | -------- associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  14 |     const E: [usize; 48] = [32, 1, 2, 3, 4, 5, 4, 5, 6, 7, 8, 9, 8, 9, 10, 11, 12, 13, 12, 13, 14, 15, 16, 17, 16, 17, 18, 19, 20, ...
[INFO] [stdout]     |           ^
[INFO] [stdout] ...
[INFO] [stdout]  17 |     const P: [usize; 32] = [16, 7, 20, 21, 29, 12, 28, 17, 1, 15, 23, 26, 5, 18, 31, 10, 2, 8, 24, 14, 32, 27, 3, 9, 19, 13, 30, 6,...
[INFO] [stdout]     |           ^
[INFO] [stdout] ...
[INFO] [stdout]  20 |     const SBOXES: [[[u8; 16]; 4]; 8] = [
[INFO] [stdout]     |           ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout]  72 |     const SHIFTS: [usize; 16] = [1, 1, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 1];
[INFO] [stdout]     |           ^^^^^^
[INFO] [stdout]  73 |
[INFO] [stdout]  74 |     const PC1: [usize; 56] = [57, 49, 41, 33, 25, 17, 9, 1, 58, 50, 42, 34, 26, 18, 10, 2, 59, 51, 43, 35, 27, 19, 11, 3, 60, 52, 4...
[INFO] [stdout]     |           ^^^
[INFO] [stdout]  75 |
[INFO] [stdout]  76 |     const PC2: [usize; 48] = [14, 17, 11, 24, 1, 5, 3, 28, 15, 6, 21, 10, 23, 19, 12, 4, 26, 8, 16, 7, 27, 20, 13, 2, 41, 52, 31, 3...
[INFO] [stdout]     |           ^^^
[INFO] [stdout] ...
[INFO] [stdout] 115 |     fn left_shift(&self, half: &str, shifts: usize) -> String {
[INFO] [stdout]     |        ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1.01s
[INFO] running `Command { std: "docker" "inspect" "937f0e07da99311c8b6a8cc89dce9fe13374a28dbb8ed72913ee1d46d3f73103", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "937f0e07da99311c8b6a8cc89dce9fe13374a28dbb8ed72913ee1d46d3f73103", kill_on_drop: false }`
[INFO] [stdout] 937f0e07da99311c8b6a8cc89dce9fe13374a28dbb8ed72913ee1d46d3f73103
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] f117d877f19fb56680de70b4016131b4b7ada41fb23001f19e01b4f122fe1a0d
[INFO] running `Command { std: "docker" "start" "-a" "f117d877f19fb56680de70b4016131b4b7ada41fb23001f19e01b4f122fe1a0d", kill_on_drop: false }`
[INFO] [stderr] warning: virtual workspace defaulting to `resolver = "1"` despite one or more workspace members being on edition 2024 which implies `resolver = "3"`
[INFO] [stderr]   |
[INFO] [stderr]   = note: to keep the current resolver, specify `workspace.resolver = "1"` in the workspace root's manifest
[INFO] [stderr]   = note: to use the edition 2024 resolver, specify `workspace.resolver = "3"` in the workspace root's manifest
[INFO] [stderr]   = note: for more details see https://doc.rust-lang.org/cargo/reference/resolver.html#resolver-versions
[INFO] [stderr] warning: unused variable: `p`
[INFO] [stderr]  --> security_task_3/src/rsa.rs:4:27
[INFO] [stderr]   |
[INFO] [stderr] 4 |     pub fn encrypt(&self, p: i32, q: i32, m: i32, e: i32) -> i32 {
[INFO] [stderr]   |                           ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `q`
[INFO] [stderr]  --> security_task_3/src/rsa.rs:4:35
[INFO] [stderr]   |
[INFO] [stderr] 4 |     pub fn encrypt(&self, p: i32, q: i32, m: i32, e: i32) -> i32 {
[INFO] [stderr]   |                                   ^ help: if this is intentional, prefix it with an underscore: `_q`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `m`
[INFO] [stderr]  --> security_task_3/src/rsa.rs:4:43
[INFO] [stderr]   |
[INFO] [stderr] 4 |     pub fn encrypt(&self, p: i32, q: i32, m: i32, e: i32) -> i32 {
[INFO] [stderr]   |                                           ^ help: if this is intentional, prefix it with an underscore: `_m`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `e`
[INFO] [stderr]  --> security_task_3/src/rsa.rs:4:51
[INFO] [stderr]   |
[INFO] [stderr] 4 |     pub fn encrypt(&self, p: i32, q: i32, m: i32, e: i32) -> i32 {
[INFO] [stderr]   |                                                   ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `p`
[INFO] [stderr]  --> security_task_3/src/rsa.rs:8:27
[INFO] [stderr]   |
[INFO] [stderr] 8 |     pub fn decrypt(&self, p: i32, q: i32, c: i32, e: i32) -> i32 {
[INFO] [stderr]   |                           ^ help: if this is intentional, prefix it with an underscore: `_p`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `q`
[INFO] [stderr]  --> security_task_3/src/rsa.rs:8:35
[INFO] [stderr]   |
[INFO] [stderr] 8 |     pub fn decrypt(&self, p: i32, q: i32, c: i32, e: i32) -> i32 {
[INFO] [stderr]   |                                   ^ help: if this is intentional, prefix it with an underscore: `_q`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `c`
[INFO] [stderr]  --> security_task_3/src/rsa.rs:8:43
[INFO] [stderr]   |
[INFO] [stderr] 8 |     pub fn decrypt(&self, p: i32, q: i32, c: i32, e: i32) -> i32 {
[INFO] [stderr]   |                                           ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `e`
[INFO] [stderr]  --> security_task_3/src/rsa.rs:8:51
[INFO] [stderr]   |
[INFO] [stderr] 8 |     pub fn decrypt(&self, p: i32, q: i32, c: i32, e: i32) -> i32 {
[INFO] [stderr]   |                                                   ^ help: if this is intentional, prefix it with an underscore: `_e`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `q`
[INFO] [stderr]  --> security_task_3/src/elgamal.rs:4:27
[INFO] [stderr]   |
[INFO] [stderr] 4 |     pub fn encrypt(&self, q: i32, alpha: i32, y: i32, k: i32, m: i32) -> Vec<i64> {
[INFO] [stderr]   |                           ^ help: if this is intentional, prefix it with an underscore: `_q`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `alpha`
[INFO] [stderr]  --> security_task_3/src/elgamal.rs:4:35
[INFO] [stderr]   |
[INFO] [stderr] 4 |     pub fn encrypt(&self, q: i32, alpha: i32, y: i32, k: i32, m: i32) -> Vec<i64> {
[INFO] [stderr]   |                                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_alpha`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `y`
[INFO] [stderr]  --> security_task_3/src/elgamal.rs:4:47
[INFO] [stderr]   |
[INFO] [stderr] 4 |     pub fn encrypt(&self, q: i32, alpha: i32, y: i32, k: i32, m: i32) -> Vec<i64> {
[INFO] [stderr]   |                                               ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `k`
[INFO] [stderr]  --> security_task_3/src/elgamal.rs:4:55
[INFO] [stderr]   |
[INFO] [stderr] 4 |     pub fn encrypt(&self, q: i32, alpha: i32, y: i32, k: i32, m: i32) -> Vec<i64> {
[INFO] [stderr]   |                                                       ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `m`
[INFO] [stderr]  --> security_task_3/src/elgamal.rs:4:63
[INFO] [stderr]   |
[INFO] [stderr] 4 |     pub fn encrypt(&self, q: i32, alpha: i32, y: i32, k: i32, m: i32) -> Vec<i64> {
[INFO] [stderr]   |                                                               ^ help: if this is intentional, prefix it with an underscore: `_m`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `c1`
[INFO] [stderr]  --> security_task_3/src/elgamal.rs:8:27
[INFO] [stderr]   |
[INFO] [stderr] 8 |     pub fn decrypt(&self, c1: i32, c2: i32, x: i32, q: i32) -> i32 {
[INFO] [stderr]   |                           ^^ help: if this is intentional, prefix it with an underscore: `_c1`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `c2`
[INFO] [stderr]  --> security_task_3/src/elgamal.rs:8:36
[INFO] [stderr]   |
[INFO] [stderr] 8 |     pub fn decrypt(&self, c1: i32, c2: i32, x: i32, q: i32) -> i32 {
[INFO] [stderr]   |                                    ^^ help: if this is intentional, prefix it with an underscore: `_c2`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `x`
[INFO] [stderr]  --> security_task_3/src/elgamal.rs:8:45
[INFO] [stderr]   |
[INFO] [stderr] 8 |     pub fn decrypt(&self, c1: i32, c2: i32, x: i32, q: i32) -> i32 {
[INFO] [stderr]   |                                             ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `q`
[INFO] [stderr]  --> security_task_3/src/elgamal.rs:8:53
[INFO] [stderr]   |
[INFO] [stderr] 8 |     pub fn decrypt(&self, c1: i32, c2: i32, x: i32, q: i32) -> i32 {
[INFO] [stderr]   |                                                     ^ help: if this is intentional, prefix it with an underscore: `_q`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `q`
[INFO] [stderr]  --> security_task_3/src/diffie_hellman.rs:4:28
[INFO] [stderr]   |
[INFO] [stderr] 4 |     pub fn get_keys(&self, q: i32, alpha: i32, xa: i32, xb: i32) -> Vec<i32> {
[INFO] [stderr]   |                            ^ help: if this is intentional, prefix it with an underscore: `_q`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `alpha`
[INFO] [stderr]  --> security_task_3/src/diffie_hellman.rs:4:36
[INFO] [stderr]   |
[INFO] [stderr] 4 |     pub fn get_keys(&self, q: i32, alpha: i32, xa: i32, xb: i32) -> Vec<i32> {
[INFO] [stderr]   |                                    ^^^^^ help: if this is intentional, prefix it with an underscore: `_alpha`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `xa`
[INFO] [stderr]  --> security_task_3/src/diffie_hellman.rs:4:48
[INFO] [stderr]   |
[INFO] [stderr] 4 |     pub fn get_keys(&self, q: i32, alpha: i32, xa: i32, xb: i32) -> Vec<i32> {
[INFO] [stderr]   |                                                ^^ help: if this is intentional, prefix it with an underscore: `_xa`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `xb`
[INFO] [stderr]  --> security_task_3/src/diffie_hellman.rs:4:57
[INFO] [stderr]   |
[INFO] [stderr] 4 |     pub fn get_keys(&self, q: i32, alpha: i32, xa: i32, xb: i32) -> Vec<i32> {
[INFO] [stderr]   |                                                         ^^ help: if this is intentional, prefix it with an underscore: `_xb`
[INFO] [stderr] 
[INFO] [stderr] warning: `security_task_3` (lib) generated 21 warnings (run `cargo fix --lib -p security_task_3` to apply 21 suggestions)
[INFO] [stderr] warning: unused variable: `key`
[INFO] [stderr]  --> security_task_1/src/monoalphabetic_cipher.rs:7:9
[INFO] [stderr]   |
[INFO] [stderr] 7 |     let key = key.to_uppercase();
[INFO] [stderr]   |         ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `i`
[INFO] [stderr]   --> security_task_1/src/monoalphabetic_cipher.rs:10:9
[INFO] [stderr]    |
[INFO] [stderr] 10 |     for i in 0..alphabet.len() {
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `key`
[INFO] [stderr]   --> security_task_1/src/monoalphabetic_cipher.rs:21:9
[INFO] [stderr]    |
[INFO] [stderr] 21 |     let key = key.to_uppercase();
[INFO] [stderr]    |         ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `i`
[INFO] [stderr]   --> security_task_1/src/monoalphabetic_cipher.rs:24:9
[INFO] [stderr]    |
[INFO] [stderr] 24 |     for i in 0..alphabet.len() {
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `encryption_map`
[INFO] [stderr]   --> security_task_1/src/monoalphabetic_cipher.rs:32:9
[INFO] [stderr]    |
[INFO] [stderr] 32 |     let encryption_map = generate_encryption_map(key);
[INFO] [stderr]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_encryption_map`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `c`
[INFO] [stderr]   --> security_task_1/src/monoalphabetic_cipher.rs:36:9
[INFO] [stderr]    |
[INFO] [stderr] 36 |     for c in plaintext.chars() {
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `decryption_map`
[INFO] [stderr]   --> security_task_1/src/monoalphabetic_cipher.rs:44:9
[INFO] [stderr]    |
[INFO] [stderr] 44 |     let decryption_map = generate_decryption_map(key);
[INFO] [stderr]    |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_decryption_map`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `c`
[INFO] [stderr]   --> security_task_1/src/monoalphabetic_cipher.rs:48:9
[INFO] [stderr]    |
[INFO] [stderr] 48 |     for c in ciphertext.chars() {
[INFO] [stderr]    |         ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `cipher_char`
[INFO] [stderr]   --> security_task_1/src/monoalphabetic_cipher.rs:62:22
[INFO] [stderr]    |
[INFO] [stderr] 62 |     for (plain_char, cipher_char) in plaintext.chars().zip(ciphertext.chars()) {
[INFO] [stderr]    |                      ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cipher_char`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `index`
[INFO] [stderr]   --> security_task_1/src/monoalphabetic_cipher.rs:64:17
[INFO] [stderr]    |
[INFO] [stderr] 64 |             let index = alphabet.find(plain_char).unwrap();
[INFO] [stderr]    |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `k`
[INFO] [stderr]   --> security_task_1/src/playfair_cipher.rs:16:13
[INFO] [stderr]    |
[INFO] [stderr] 16 |         let k = key.to_uppercase().replace("[^A-Z]", "").replace("J", "I");
[INFO] [stderr]    |             ^ help: if this is intentional, prefix it with an underscore: `_k`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `c`
[INFO] [stderr]   --> security_task_1/src/playfair_cipher.rs:62:22
[INFO] [stderr]    |
[INFO] [stderr] 62 |     fn find_position(c: char) -> Option<Vec<usize>> {
[INFO] [stderr]    |                      ^ help: if this is intentional, prefix it with an underscore: `_c`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `text`
[INFO] [stderr]   --> security_task_1/src/playfair_cipher.rs:95:27
[INFO] [stderr]    |
[INFO] [stderr] 95 |     pub fn decrypt(&self, text: String) -> String {
[INFO] [stderr]    |                           ^^^^ help: if this is intentional, prefix it with an underscore: `_text`
[INFO] [stderr] 
[INFO] [stderr] warning: `security_task_1` (lib) generated 13 warnings (run `cargo fix --lib -p security_task_1` to apply 13 suggestions)
[INFO] [stderr] warning: unused import: `std::str::FromStr`
[INFO] [stderr]  --> security_task_2/src/des.rs:2:5
[INFO] [stderr]   |
[INFO] [stderr] 2 | use std::str::FromStr;
[INFO] [stderr]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stderr]   |
[INFO] [stderr]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `binary`
[INFO] [stderr]    --> security_task_2/src/des.rs:100:29
[INFO] [stderr]     |
[INFO] [stderr] 100 |     fn binary_to_hex(&self, binary: &str) -> String {
[INFO] [stderr]     |                             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_binary`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> security_task_2/src/des.rs:201:13
[INFO] [stderr]     |
[INFO] [stderr] 201 |         let mut subkeys = vec![String::new(); 16];
[INFO] [stderr]     |             ----^^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `key_bin`
[INFO] [stderr]    --> security_task_2/src/des.rs:200:33
[INFO] [stderr]     |
[INFO] [stderr] 200 |     fn generate_sub_keys(&self, key_bin: &str) -> Vec<String> {
[INFO] [stderr]     |                                 ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_key_bin`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `i`
[INFO] [stderr]    --> security_task_2/src/des.rs:208:13
[INFO] [stderr]     |
[INFO] [stderr] 208 |         for i in 0..16 {
[INFO] [stderr]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stderr] 
[INFO] [stderr] warning: variable does not need to be mutable
[INFO] [stderr]    --> security_task_2/src/des.rs:221:13
[INFO] [stderr]     |
[INFO] [stderr] 221 |         let mut substituted = String::new();
[INFO] [stderr]     |             ----^^^^^^^^^^^
[INFO] [stderr]     |             |
[INFO] [stderr]     |             help: remove this `mut`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `r`
[INFO] [stderr]    --> security_task_2/src/des.rs:215:23
[INFO] [stderr]     |
[INFO] [stderr] 215 |     fn feistel(&self, r: &str, sub_key: &str) -> String {
[INFO] [stderr]     |                       ^ help: if this is intentional, prefix it with an underscore: `_r`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `sub_key`
[INFO] [stderr]    --> security_task_2/src/des.rs:215:32
[INFO] [stderr]     |
[INFO] [stderr] 215 |     fn feistel(&self, r: &str, sub_key: &str) -> String {
[INFO] [stderr]     |                                ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_sub_key`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `substituted`
[INFO] [stderr]    --> security_task_2/src/des.rs:221:13
[INFO] [stderr]     |
[INFO] [stderr] 221 |         let mut substituted = String::new();
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_substituted`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `i`
[INFO] [stderr]    --> security_task_2/src/des.rs:222:13
[INFO] [stderr]     |
[INFO] [stderr] 222 |         for i in 0..8 {
[INFO] [stderr]     |             ^ help: if this is intentional, prefix it with an underscore: `_i`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `plain_text`
[INFO] [stderr]   --> security_task_2/src/columnar_cipher.rs:10:27
[INFO] [stderr]    |
[INFO] [stderr] 10 |     pub fn analyse(&self, plain_text: &str, cipher_text: &str) -> Vec<usize> {
[INFO] [stderr]    |                           ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_plain_text`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `cipher_text`
[INFO] [stderr]   --> security_task_2/src/columnar_cipher.rs:10:45
[INFO] [stderr]    |
[INFO] [stderr] 10 |     pub fn analyse(&self, plain_text: &str, cipher_text: &str) -> Vec<usize> {
[INFO] [stderr]    |                                             ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cipher_text`
[INFO] [stderr] 
[INFO] [stderr] warning: multiple associated items are never used
[INFO] [stderr]    --> security_task_2/src/des.rs:14:11
[INFO] [stderr]     |
[INFO] [stderr]   6 | impl DES {
[INFO] [stderr]     | -------- associated items in this implementation
[INFO] [stderr] ...
[INFO] [stderr]  14 |     const E: [usize; 48] = [32, 1, 2, 3, 4, 5, 4, 5, 6, 7, 8, 9, 8, 9, 10, 11, 12, 13, 12, 13, 14, 15, 16, 17, 16, 17, 18, 19, 20, ...
[INFO] [stderr]     |           ^
[INFO] [stderr] ...
[INFO] [stderr]  17 |     const P: [usize; 32] = [16, 7, 20, 21, 29, 12, 28, 17, 1, 15, 23, 26, 5, 18, 31, 10, 2, 8, 24, 14, 32, 27, 3, 9, 19, 13, 30, 6,...
[INFO] [stderr]     |           ^
[INFO] [stderr] ...
[INFO] [stderr]  20 |     const SBOXES: [[[u8; 16]; 4]; 8] = [
[INFO] [stderr]     |           ^^^^^^
[INFO] [stderr] ...
[INFO] [stderr]  72 |     const SHIFTS: [usize; 16] = [1, 1, 2, 2, 2, 2, 2, 2, 1, 2, 2, 2, 2, 2, 2, 1];
[INFO] [stderr]     |           ^^^^^^
[INFO] [stderr]  73 |
[INFO] [stderr]  74 |     const PC1: [usize; 56] = [57, 49, 41, 33, 25, 17, 9, 1, 58, 50, 42, 34, 26, 18, 10, 2, 59, 51, 43, 35, 27, 19, 11, 3, 60, 52, 4...
[INFO] [stderr]     |           ^^^
[INFO] [stderr]  75 |
[INFO] [stderr]  76 |     const PC2: [usize; 48] = [14, 17, 11, 24, 1, 5, 3, 28, 15, 6, 21, 10, 23, 19, 12, 4, 26, 8, 16, 7, 27, 20, 13, 2, 41, 52, 31, 3...
[INFO] [stderr]     |           ^^^
[INFO] [stderr] ...
[INFO] [stderr] 115 |     fn left_shift(&self, half: &str, shifts: usize) -> String {
[INFO] [stderr]     |        ^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `security_task_2` (lib) generated 13 warnings (run `cargo fix --lib -p security_task_2` to apply 12 suggestions)
[INFO] [stderr] warning: `security_task_1` (lib test) generated 13 warnings (13 duplicates)
[INFO] [stderr] warning: `security_task_2` (lib test) generated 13 warnings (13 duplicates)
[INFO] [stderr] warning: `security_task_3` (lib test) generated 21 warnings (21 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.09s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/security_task_1-394ee0b0bab2b6e2)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests src/main.rs (/opt/rustwide/target/debug/deps/security_task_1-b97c4f3f8daf6928)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]      Running tests/monoalphabetic_cipher_test.rs (/opt/rustwide/target/debug/deps/monoalphabetic_cipher_test-447db67f2208eb62)
[INFO] [stdout] 
[INFO] [stdout] running 3 tests
[INFO] [stdout] test tests::test_decryption ... FAILED
[INFO] [stdout] test tests::test_find_key ... FAILED
[INFO] [stdout] test tests::test_encryption ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- tests::test_decryption stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'tests::test_decryption' (19) panicked at security_task_1/tests/monoalphabetic_cipher_test.rs:25:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "HELLO WORLD"
[INFO] [stdout]  right: ""
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5f719c566f4a - std[f92b4c606f291077]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5f719c566f4a - std[f92b4c606f291077]::backtrace_rs::backtrace::trace_unsynchronized::<std[f92b4c606f291077]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5f719c566f4a - std[f92b4c606f291077]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x5f719c566f4a - <<std[f92b4c606f291077]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[786f478f706679df]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x5f719c57c8ba - <core[786f478f706679df]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x5f719c57c8ba - core[786f478f706679df]::fmt::write
[INFO] [stdout]    6:     0x5f719c56b7d2 - std[f92b4c606f291077]::io::default_write_fmt::<alloc[64763625b5a07cdb]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x5f719c56b7d2 - <alloc[64763625b5a07cdb]::vec::Vec<u8> as std[f92b4c606f291077]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x5f719c54616f - <std[f92b4c606f291077]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x5f719c54616f - std[f92b4c606f291077]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x5f719c55f509 - std[f92b4c606f291077]::panicking::default_hook
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x5f719c283dfc - <alloc[64763625b5a07cdb]::boxed::Box<dyn for<'a, 'b> core[786f478f706679df]::ops::function::Fn<(&'a std[f92b4c606f291077]::panic::PanicHookInfo<'b>,), Output = ()> + core[786f478f706679df]::marker::Sync + core[786f478f706679df]::marker::Send> as core[786f478f706679df]::ops::function::Fn<(&std[f92b4c606f291077]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/alloc/src/boxed.rs:2254:9
[INFO] [stdout]   12:     0x5f719c283dfc - test[20e1f0ae6cad7a17]::test_main_with_exit_callback::<test[20e1f0ae6cad7a17]::test_main::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x5f719c55f6c2 - <alloc[64763625b5a07cdb]::boxed::Box<dyn for<'a, 'b> core[786f478f706679df]::ops::function::Fn<(&'a std[f92b4c606f291077]::panic::PanicHookInfo<'b>,), Output = ()> + core[786f478f706679df]::marker::Sync + core[786f478f706679df]::marker::Send> as core[786f478f706679df]::ops::function::Fn<(&std[f92b4c606f291077]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/alloc/src/boxed.rs:2254:9
[INFO] [stdout]   14:     0x5f719c55f6c2 - std[f92b4c606f291077]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x5f719c546228 - std[f92b4c606f291077]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x5f719c53dbc9 - std[f92b4c606f291077]::sys::backtrace::__rust_end_short_backtrace::<std[f92b4c606f291077]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x5f719c546f3d - __rustc[8241495c18a89d70]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x5f719c57d0fc - core[786f478f706679df]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x5f719c57cfb3 - core[786f478f706679df]::panicking::assert_failed_inner
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/panicking.rs:439:17
[INFO] [stdout]   20:     0x5f719c274232 - core[786f478f706679df]::panicking::assert_failed::<alloc[64763625b5a07cdb]::string::String, alloc[64763625b5a07cdb]::string::String>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/panicking.rs:394:5
[INFO] [stdout]   21:     0x5f719c2772cd - monoalphabetic_cipher_test[1345436c272f3cd]::tests::test_decryption
[INFO] [stdout]                                at /opt/rustwide/workdir/security_task_1/tests/monoalphabetic_cipher_test.rs:25:9
[INFO] [stdout]   22:     0x5f719c274ff7 - monoalphabetic_cipher_test[1345436c272f3cd]::tests::test_decryption::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/security_task_1/tests/monoalphabetic_cipher_test.rs:19:25
[INFO] [stdout]   23:     0x5f719c277de6 - <monoalphabetic_cipher_test[1345436c272f3cd]::tests::test_decryption::{closure#0} as core[786f478f706679df]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x5f719c277edb - <fn() -> core[786f478f706679df]::result::Result<(), alloc[64763625b5a07cdb]::string::String> as core[786f478f706679df]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5f719c277edb - test[20e1f0ae6cad7a17]::__rust_begin_short_backtrace::<core[786f478f706679df]::result::Result<(), alloc[64763625b5a07cdb]::string::String>, fn() -> core[786f478f706679df]::result::Result<(), alloc[64763625b5a07cdb]::string::String>>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/test/src/lib.rs:663:18
[INFO] [stdout]   26:     0x5f719c2848cb - test[20e1f0ae6cad7a17]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/test/src/lib.rs:686:74
[INFO] [stdout]   27:     0x5f719c2848cb - <core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<test[20e1f0ae6cad7a17]::run_test_in_process::{closure#0}> as core[786f478f706679df]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   28:     0x5f719c2848cb - std[f92b4c606f291077]::panicking::catch_unwind::do_call::<core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<test[20e1f0ae6cad7a17]::run_test_in_process::{closure#0}>, core[786f478f706679df]::result::Result<(), alloc[64763625b5a07cdb]::string::String>>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:581:40
[INFO] [stdout]   29:     0x5f719c2848cb - std[f92b4c606f291077]::panicking::catch_unwind::<core[786f478f706679df]::result::Result<(), alloc[64763625b5a07cdb]::string::String>, core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<test[20e1f0ae6cad7a17]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:544:19
[INFO] [stderr] error: test failed, to rerun pass `-p security_task_1 --test monoalphabetic_cipher_test`
[INFO] [stdout]   30:     0x5f719c2848cb - std[f92b4c606f291077]::panic::catch_unwind::<core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<test[20e1f0ae6cad7a17]::run_test_in_process::{closure#0}>, core[786f478f706679df]::result::Result<(), alloc[64763625b5a07cdb]::string::String>>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panic.rs:359:14
[INFO] [stdout]   31:     0x5f719c2848cb - test[20e1f0ae6cad7a17]::run_test_in_process
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/test/src/lib.rs:686:27
[INFO] [stdout]   32:     0x5f719c2848cb - test[20e1f0ae6cad7a17]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/test/src/lib.rs:607:43
[INFO] [stdout]   33:     0x5f719c27ffe4 - test[20e1f0ae6cad7a17]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/test/src/lib.rs:637:41
[INFO] [stdout]   34:     0x5f719c27ffe4 - std[f92b4c606f291077]::sys::backtrace::__rust_begin_short_backtrace::<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   35:     0x5f719c2874d2 - std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked::<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/thread/lifecycle.rs:91:13
[INFO] [stdout]   36:     0x5f719c2874d2 - <core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[786f478f706679df]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   37:     0x5f719c2874d2 - std[f92b4c606f291077]::panicking::catch_unwind::do_call::<core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:581:40
[INFO] [stdout]   38:     0x5f719c2874d2 - std[f92b4c606f291077]::panicking::catch_unwind::<(), core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:544:19
[INFO] [stdout]   39:     0x5f719c2874d2 - std[f92b4c606f291077]::panic::catch_unwind::<core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panic.rs:359:14
[INFO] [stdout]   40:     0x5f719c2874d2 - std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked::<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/thread/lifecycle.rs:89:26
[INFO] [stdout]   41:     0x5f719c2874d2 - <std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1} as core[786f478f706679df]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x5f719c56685f - <alloc[64763625b5a07cdb]::boxed::Box<dyn core[786f478f706679df]::ops::function::FnOnce<(), Output = ()> + core[786f478f706679df]::marker::Send> as core[786f478f706679df]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/alloc/src/boxed.rs:2240:9
[INFO] [stdout]   43:     0x5f719c56685f - <std[f92b4c606f291077]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   44:     0x7cca469b9aa4 - <unknown>
[INFO] [stdout]   45:     0x7cca46a46a64 - clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- tests::test_find_key stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'tests::test_find_key' (21) panicked at security_task_1/tests/monoalphabetic_cipher_test.rs:37:9:
[INFO] [stdout] Key does not match expected pattern.
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5f719c566f4a - std[f92b4c606f291077]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5f719c566f4a - std[f92b4c606f291077]::backtrace_rs::backtrace::trace_unsynchronized::<std[f92b4c606f291077]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5f719c566f4a - std[f92b4c606f291077]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x5f719c566f4a - <<std[f92b4c606f291077]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[786f478f706679df]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x5f719c57c8ba - <core[786f478f706679df]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x5f719c57c8ba - core[786f478f706679df]::fmt::write
[INFO] [stdout]    6:     0x5f719c56b7d2 - std[f92b4c606f291077]::io::default_write_fmt::<alloc[64763625b5a07cdb]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x5f719c56b7d2 - <alloc[64763625b5a07cdb]::vec::Vec<u8> as std[f92b4c606f291077]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x5f719c54616f - <std[f92b4c606f291077]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x5f719c54616f - std[f92b4c606f291077]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x5f719c55f509 - std[f92b4c606f291077]::panicking::default_hook
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x5f719c283dfc - <alloc[64763625b5a07cdb]::boxed::Box<dyn for<'a, 'b> core[786f478f706679df]::ops::function::Fn<(&'a std[f92b4c606f291077]::panic::PanicHookInfo<'b>,), Output = ()> + core[786f478f706679df]::marker::Sync + core[786f478f706679df]::marker::Send> as core[786f478f706679df]::ops::function::Fn<(&std[f92b4c606f291077]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/alloc/src/boxed.rs:2254:9
[INFO] [stdout]   12:     0x5f719c283dfc - test[20e1f0ae6cad7a17]::test_main_with_exit_callback::<test[20e1f0ae6cad7a17]::test_main::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x5f719c55f6c2 - <alloc[64763625b5a07cdb]::boxed::Box<dyn for<'a, 'b> core[786f478f706679df]::ops::function::Fn<(&'a std[f92b4c606f291077]::panic::PanicHookInfo<'b>,), Output = ()> + core[786f478f706679df]::marker::Sync + core[786f478f706679df]::marker::Send> as core[786f478f706679df]::ops::function::Fn<(&std[f92b4c606f291077]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/alloc/src/boxed.rs:2254:9
[INFO] [stdout]   14:     0x5f719c55f6c2 - std[f92b4c606f291077]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x5f719c54625a - std[f92b4c606f291077]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:691:13
[INFO] [stdout]   16:     0x5f719c53dbc9 - std[f92b4c606f291077]::sys::backtrace::__rust_end_short_backtrace::<std[f92b4c606f291077]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x5f719c546f3d - __rustc[8241495c18a89d70]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x5f719c57d0fc - core[786f478f706679df]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x5f719c2770cd - monoalphabetic_cipher_test[1345436c272f3cd]::tests::test_find_key
[INFO] [stdout]                                at /opt/rustwide/workdir/security_task_1/tests/monoalphabetic_cipher_test.rs:37:9
[INFO] [stdout]   20:     0x5f719c274fc7 - monoalphabetic_cipher_test[1345436c272f3cd]::tests::test_find_key::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/security_task_1/tests/monoalphabetic_cipher_test.rs:29:23
[INFO] [stdout]   21:     0x5f719c277da6 - <monoalphabetic_cipher_test[1345436c272f3cd]::tests::test_find_key::{closure#0} as core[786f478f706679df]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   22:     0x5f719c277edb - <fn() -> core[786f478f706679df]::result::Result<(), alloc[64763625b5a07cdb]::string::String> as core[786f478f706679df]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   23:     0x5f719c277edb - test[20e1f0ae6cad7a17]::__rust_begin_short_backtrace::<core[786f478f706679df]::result::Result<(), alloc[64763625b5a07cdb]::string::String>, fn() -> core[786f478f706679df]::result::Result<(), alloc[64763625b5a07cdb]::string::String>>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/test/src/lib.rs:663:18
[INFO] [stdout]   24:     0x5f719c2848cb - test[20e1f0ae6cad7a17]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/test/src/lib.rs:686:74
[INFO] [stdout]   25:     0x5f719c2848cb - <core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<test[20e1f0ae6cad7a17]::run_test_in_process::{closure#0}> as core[786f478f706679df]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   26:     0x5f719c2848cb - std[f92b4c606f291077]::panicking::catch_unwind::do_call::<core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<test[20e1f0ae6cad7a17]::run_test_in_process::{closure#0}>, core[786f478f706679df]::result::Result<(), alloc[64763625b5a07cdb]::string::String>>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:581:40
[INFO] [stdout]   27:     0x5f719c2848cb - std[f92b4c606f291077]::panicking::catch_unwind::<core[786f478f706679df]::result::Result<(), alloc[64763625b5a07cdb]::string::String>, core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<test[20e1f0ae6cad7a17]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:544:19
[INFO] [stdout]   28:     0x5f719c2848cb - std[f92b4c606f291077]::panic::catch_unwind::<core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<test[20e1f0ae6cad7a17]::run_test_in_process::{closure#0}>, core[786f478f706679df]::result::Result<(), alloc[64763625b5a07cdb]::string::String>>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panic.rs:359:14
[INFO] [stdout]   29:     0x5f719c2848cb - test[20e1f0ae6cad7a17]::run_test_in_process
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/test/src/lib.rs:686:27
[INFO] [stdout]   30:     0x5f719c2848cb - test[20e1f0ae6cad7a17]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/test/src/lib.rs:607:43
[INFO] [stdout]   31:     0x5f719c27ffe4 - test[20e1f0ae6cad7a17]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/test/src/lib.rs:637:41
[INFO] [stdout]   32:     0x5f719c27ffe4 - std[f92b4c606f291077]::sys::backtrace::__rust_begin_short_backtrace::<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   33:     0x5f719c2874d2 - std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked::<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/thread/lifecycle.rs:91:13
[INFO] [stdout]   34:     0x5f719c2874d2 - <core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[786f478f706679df]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   35:     0x5f719c2874d2 - std[f92b4c606f291077]::panicking::catch_unwind::do_call::<core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:581:40
[INFO] [stdout]   36:     0x5f719c2874d2 - std[f92b4c606f291077]::panicking::catch_unwind::<(), core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:544:19
[INFO] [stdout]   37:     0x5f719c2874d2 - std[f92b4c606f291077]::panic::catch_unwind::<core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panic.rs:359:14
[INFO] [stdout]   38:     0x5f719c2874d2 - std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked::<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/thread/lifecycle.rs:89:26
[INFO] [stdout]   39:     0x5f719c2874d2 - <std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1} as core[786f478f706679df]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   40:     0x5f719c56685f - <alloc[64763625b5a07cdb]::boxed::Box<dyn core[786f478f706679df]::ops::function::FnOnce<(), Output = ()> + core[786f478f706679df]::marker::Send> as core[786f478f706679df]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/alloc/src/boxed.rs:2240:9
[INFO] [stdout]   41:     0x5f719c56685f - <std[f92b4c606f291077]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   42:     0x7cca469b9aa4 - <unknown>
[INFO] [stdout]   43:     0x7cca46a46a64 - clone
[INFO] [stdout]   44:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] ---- tests::test_encryption stdout ----
[INFO] [stdout] 
[INFO] [stdout] thread 'tests::test_encryption' (20) panicked at security_task_1/tests/monoalphabetic_cipher_test.rs:15:9:
[INFO] [stdout] assertion `left == right` failed
[INFO] [stdout]   left: "ITSSG VGKSR"
[INFO] [stdout]  right: ""
[INFO] [stdout] stack backtrace:
[INFO] [stdout]    0:     0x5f719c566f4a - std[f92b4c606f291077]::backtrace_rs::backtrace::libunwind::trace
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9
[INFO] [stdout]    1:     0x5f719c566f4a - std[f92b4c606f291077]::backtrace_rs::backtrace::trace_unsynchronized::<std[f92b4c606f291077]::sys::backtrace::_print_fmt::{closure#1}>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14
[INFO] [stdout]    2:     0x5f719c566f4a - std[f92b4c606f291077]::sys::backtrace::_print_fmt
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/sys/backtrace.rs:74:9
[INFO] [stdout]    3:     0x5f719c566f4a - <<std[f92b4c606f291077]::sys::backtrace::BacktraceLock>::print::DisplayBacktrace as core[786f478f706679df]::fmt::Display>::fmt
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/sys/backtrace.rs:44:26
[INFO] [stdout]    4:     0x5f719c57c8ba - <core[786f478f706679df]::fmt::rt::Argument>::fmt
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/fmt/rt.rs:152:76
[INFO] [stdout]    5:     0x5f719c57c8ba - core[786f478f706679df]::fmt::write
[INFO] [stdout]    6:     0x5f719c56b7d2 - std[f92b4c606f291077]::io::default_write_fmt::<alloc[64763625b5a07cdb]::vec::Vec<u8>>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/io/mod.rs:639:11
[INFO] [stdout]    7:     0x5f719c56b7d2 - <alloc[64763625b5a07cdb]::vec::Vec<u8> as std[f92b4c606f291077]::io::Write>::write_fmt
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/io/mod.rs:1994:13
[INFO] [stdout]    8:     0x5f719c54616f - <std[f92b4c606f291077]::sys::backtrace::BacktraceLock>::print
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/sys/backtrace.rs:47:9
[INFO] [stdout]    9:     0x5f719c54616f - std[f92b4c606f291077]::panicking::default_hook::{closure#0}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:292:27
[INFO] [stdout]   10:     0x5f719c55f509 - std[f92b4c606f291077]::panicking::default_hook
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:316:9
[INFO] [stdout]   11:     0x5f719c283dfc - <alloc[64763625b5a07cdb]::boxed::Box<dyn for<'a, 'b> core[786f478f706679df]::ops::function::Fn<(&'a std[f92b4c606f291077]::panic::PanicHookInfo<'b>,), Output = ()> + core[786f478f706679df]::marker::Sync + core[786f478f706679df]::marker::Send> as core[786f478f706679df]::ops::function::Fn<(&std[f92b4c606f291077]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/alloc/src/boxed.rs:2254:9
[INFO] [stdout]   12:     0x5f719c283dfc - test[20e1f0ae6cad7a17]::test_main_with_exit_callback::<test[20e1f0ae6cad7a17]::test_main::{closure#0}>::{closure#0}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/test/src/lib.rs:145:21
[INFO] [stdout]   13:     0x5f719c55f6c2 - <alloc[64763625b5a07cdb]::boxed::Box<dyn for<'a, 'b> core[786f478f706679df]::ops::function::Fn<(&'a std[f92b4c606f291077]::panic::PanicHookInfo<'b>,), Output = ()> + core[786f478f706679df]::marker::Sync + core[786f478f706679df]::marker::Send> as core[786f478f706679df]::ops::function::Fn<(&std[f92b4c606f291077]::panic::PanicHookInfo,)>>::call
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/alloc/src/boxed.rs:2254:9
[INFO] [stdout]   14:     0x5f719c55f6c2 - std[f92b4c606f291077]::panicking::panic_with_hook
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:833:13
[INFO] [stdout]   15:     0x5f719c546228 - std[f92b4c606f291077]::panicking::panic_handler::{closure#0}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:698:13
[INFO] [stdout]   16:     0x5f719c53dbc9 - std[f92b4c606f291077]::sys::backtrace::__rust_end_short_backtrace::<std[f92b4c606f291077]::panicking::panic_handler::{closure#0}, !>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/sys/backtrace.rs:182:18
[INFO] [stdout]   17:     0x5f719c546f3d - __rustc[8241495c18a89d70]::rust_begin_unwind
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:689:5
[INFO] [stdout]   18:     0x5f719c57d0fc - core[786f478f706679df]::panicking::panic_fmt
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/panicking.rs:80:14
[INFO] [stdout]   19:     0x5f719c57cfb3 - core[786f478f706679df]::panicking::assert_failed_inner
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/panicking.rs:439:17
[INFO] [stdout]   20:     0x5f719c274232 - core[786f478f706679df]::panicking::assert_failed::<alloc[64763625b5a07cdb]::string::String, alloc[64763625b5a07cdb]::string::String>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/panicking.rs:394:5
[INFO] [stdout]   21:     0x5f719c2774bd - monoalphabetic_cipher_test[1345436c272f3cd]::tests::test_encryption
[INFO] [stdout]                                at /opt/rustwide/workdir/security_task_1/tests/monoalphabetic_cipher_test.rs:15:9
[INFO] [stdout]   22:     0x5f719c275027 - monoalphabetic_cipher_test[1345436c272f3cd]::tests::test_encryption::{closure#0}
[INFO] [stdout]                                at /opt/rustwide/workdir/security_task_1/tests/monoalphabetic_cipher_test.rs:9:25
[INFO] [stdout]   23:     0x5f719c277e26 - <monoalphabetic_cipher_test[1345436c272f3cd]::tests::test_encryption::{closure#0} as core[786f478f706679df]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   24:     0x5f719c277edb - <fn() -> core[786f478f706679df]::result::Result<(), alloc[64763625b5a07cdb]::string::String> as core[786f478f706679df]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   25:     0x5f719c277edb - test[20e1f0ae6cad7a17]::__rust_begin_short_backtrace::<core[786f478f706679df]::result::Result<(), alloc[64763625b5a07cdb]::string::String>, fn() -> core[786f478f706679df]::result::Result<(), alloc[64763625b5a07cdb]::string::String>>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/test/src/lib.rs:663:18
[INFO] [stdout]   26:     0x5f719c2848cb - test[20e1f0ae6cad7a17]::run_test_in_process::{closure#0}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/test/src/lib.rs:686:74
[INFO] [stdout]   27:     0x5f719c2848cb - <core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<test[20e1f0ae6cad7a17]::run_test_in_process::{closure#0}> as core[786f478f706679df]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   28:     0x5f719c2848cb - std[f92b4c606f291077]::panicking::catch_unwind::do_call::<core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<test[20e1f0ae6cad7a17]::run_test_in_process::{closure#0}>, core[786f478f706679df]::result::Result<(), alloc[64763625b5a07cdb]::string::String>>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:581:40
[INFO] [stdout]   29:     0x5f719c2848cb - std[f92b4c606f291077]::panicking::catch_unwind::<core[786f478f706679df]::result::Result<(), alloc[64763625b5a07cdb]::string::String>, core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<test[20e1f0ae6cad7a17]::run_test_in_process::{closure#0}>>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:544:19
[INFO] [stdout]   30:     0x5f719c2848cb - std[f92b4c606f291077]::panic::catch_unwind::<core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<test[20e1f0ae6cad7a17]::run_test_in_process::{closure#0}>, core[786f478f706679df]::result::Result<(), alloc[64763625b5a07cdb]::string::String>>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panic.rs:359:14
[INFO] [stdout]   31:     0x5f719c2848cb - test[20e1f0ae6cad7a17]::run_test_in_process
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/test/src/lib.rs:686:27
[INFO] [stdout]   32:     0x5f719c2848cb - test[20e1f0ae6cad7a17]::run_test::{closure#0}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/test/src/lib.rs:607:43
[INFO] [stdout]   33:     0x5f719c27ffe4 - test[20e1f0ae6cad7a17]::run_test::{closure#1}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/test/src/lib.rs:637:41
[INFO] [stdout]   34:     0x5f719c27ffe4 - std[f92b4c606f291077]::sys::backtrace::__rust_begin_short_backtrace::<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/sys/backtrace.rs:166:18
[INFO] [stdout]   35:     0x5f719c2874d2 - std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked::<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/thread/lifecycle.rs:91:13
[INFO] [stdout]   36:     0x5f719c2874d2 - <core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}> as core[786f478f706679df]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/panic/unwind_safe.rs:275:9
[INFO] [stdout]   37:     0x5f719c2874d2 - std[f92b4c606f291077]::panicking::catch_unwind::do_call::<core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:581:40
[INFO] [stdout]   38:     0x5f719c2874d2 - std[f92b4c606f291077]::panicking::catch_unwind::<(), core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panicking.rs:544:19
[INFO] [stdout]   39:     0x5f719c2874d2 - std[f92b4c606f291077]::panic::catch_unwind::<core[786f478f706679df]::panic::unwind_safe::AssertUnwindSafe<std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1}::{closure#0}>, ()>
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/panic.rs:359:14
[INFO] [stdout]   40:     0x5f719c2874d2 - std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked::<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/thread/lifecycle.rs:89:26
[INFO] [stdout]   41:     0x5f719c2874d2 - <std[f92b4c606f291077]::thread::lifecycle::spawn_unchecked<test[20e1f0ae6cad7a17]::run_test::{closure#1}, ()>::{closure#1} as core[786f478f706679df]::ops::function::FnOnce<()>>::call_once::{shim:vtable#0}
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/core/src/ops/function.rs:250:5
[INFO] [stdout]   42:     0x5f719c56685f - <alloc[64763625b5a07cdb]::boxed::Box<dyn core[786f478f706679df]::ops::function::FnOnce<(), Output = ()> + core[786f478f706679df]::marker::Send> as core[786f478f706679df]::ops::function::FnOnce<()>>::call_once
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/alloc/src/boxed.rs:2240:9
[INFO] [stdout]   43:     0x5f719c56685f - <std[f92b4c606f291077]::sys::thread::unix::Thread>::new::thread_start
[INFO] [stdout]                                at /rustc/1f7f8ea0721a3b1eb73e6c6d25cccb371434b320/library/std/src/sys/thread/unix.rs:118:17
[INFO] [stdout]   44:     0x7cca469b9aa4 - <unknown>
[INFO] [stdout]   45:     0x7cca46a46a64 - clone
[INFO] [stdout]   46:                0x0 - <unknown>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     tests::test_decryption
[INFO] [stdout]     tests::test_encryption
[INFO] [stdout]     tests::test_find_key
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.04s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "f117d877f19fb56680de70b4016131b4b7ada41fb23001f19e01b4f122fe1a0d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f117d877f19fb56680de70b4016131b4b7ada41fb23001f19e01b4f122fe1a0d", kill_on_drop: false }`
[INFO] [stdout] f117d877f19fb56680de70b4016131b4b7ada41fb23001f19e01b4f122fe1a0d
